.class public Lcom/htc/android/footprints/commonui/CommonDialog;
.super Landroid/app/Dialog;
.source "CommonDialog.java"


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0
    .parameter "context"

    .prologue
    .line 11
    invoke-direct {p0, p1}, Landroid/app/Dialog;-><init>(Landroid/content/Context;)V

    .line 12
    invoke-virtual {p0}, Lcom/htc/android/footprints/commonui/CommonDialog;->show()V

    .line 13
    invoke-virtual {p0}, Lcom/htc/android/footprints/commonui/CommonDialog;->hide()V

    .line 14
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2
    .parameter "savedInstanceState"

    .prologue
    .line 19
    invoke-super {p0, p1}, Landroid/app/Dialog;->onCreate(Landroid/os/Bundle;)V

    .line 21
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/htc/android/footprints/commonui/CommonDialog;->requestWindowFeature(I)Z

    .line 22
    invoke-virtual {p0}, Lcom/htc/android/footprints/commonui/CommonDialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    new-instance v1, Landroid/graphics/drawable/ColorDrawable;

    invoke-direct {v1}, Landroid/graphics/drawable/ColorDrawable;-><init>()V

    invoke-virtual {v0, v1}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 23
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/htc/android/footprints/commonui/CommonDialog;->setCancelable(Z)V

    .line 24
    return-void
.end method
